<template>
  <div>
    <el-button :type="type" :size="size" :style="`backgroundColor: ${color}`">{{ text }}</el-button>
  </div>
</template>

<script>
export default {
  name: 'MyButton',
  props: {
    type: {
      type: String,
      default: 'primary'
    },
    size: {
      type: String,
      default: 'min'
    },
    color: {
      type: String,
      default: 'blue'
    },
    text: {
      type: String,
      default: '确定'
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
